package com.whty.Demo03;

import com.whty.Demo02.UseCOnfAnnotationConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * Copyright 2016-2022 tianyu education Corporation, All Rights Reserved
 * http://www.whty.com.cn/
 *
 * @author wangming
 * @version 1.0
 * @date 2020/9/8 11:40
 * @since 1.0
 */

@Configuration
@Import(UseCOnfAnnotationConfiguration.class)
@ComponentScan(basePackages={"com.whty.MyComponents"})
public class MoreConfAnnotationConfiguration {
    @Bean
    public MoreConfAnnotationService getM(){
        return new MoreConfAnnotationService();
    }
}
